﻿//
// Created by 50177 on 2019/7/10.
//

#include <cstring>
#include "include/Communication/Response.h"

//--added by qinyaning 202007131436
Response::Response()  : type(NoResponse) {

}
//--
void Response::InitParams() {
    type = NoResponse;
    queryMotorResult = -1;
    executed = false;
    queryLightResult = 0;
    majorVersion = 0;
    minorVersion = 0;
    patchVersion = 0;
}

Response::Response(IN Type type) : type(type) {
}
